﻿using Domain;
using Domain.Entities;
using FrameworkCore.Attributes;

namespace AiBLSmartEdu.Module.SmartMaths.API.DTOs;

/// <summary>
/// 数学问题答案
/// </summary>
[Map(typeof(MathQuestion))]
public class QuestionOutputModel
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 问题
    /// </summary>
    public string? Question { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public MathQuestionStatus Status { get; set; }

    /// <summary>
    /// 是否收藏
    /// </summary>
    public bool IsFavorited { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? Created { get; set; }
}
